package com.whcoding.test.pojo;

import lombok.Data;

/**
 * @program: spring-boot-learning
 * @description:返回异常的VO
 * @author: whcoding
 * @create: 2022-08-01 15:18
 **/
@Data
public class ResponseExceptionVO {

	private Integer code;

	private String msg;

	/**
	 * 全参构造函数
	 *
	 * @param code 状态码
	 * @param msg  返回内容
	 */
	public ResponseExceptionVO(Integer code, String msg) {
		this.code = code;
		this.msg = msg;
	}
}


